home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-10-28 | 714 b | 22 lines | [TEXT/CWIE] |
- // StPPCBrowser © 1995 Nick Beadman
- // This class prompts the user to target an application and returns a TargetID
-
- #include <PP_Types.h>
-
- class StPPCBrowser
- {
- // constructor / destructor
- public:
- // similar in nature to StandardGetFile
- StPPCBrowser(Int16 inNofCreators, ConstSFTypeListPtr inCreators, TargetID& ioTarget, Boolean inDefaultTarget = false,
- Boolean inAllowLocal = false, ConstStr255Param inPrompt = nil, ConstStr255Param inAppLabel = nil);
- virtual ~StPPCBrowser();
-
- // storage and filter function
- protected:
- static pascal Boolean PortFilter(LocationNamePtr inLocation, PortInfoPtr inPortInfo);
- static ConstSFTypeListPtr sCreators;
- static Int16 sNofCreators;
- static Boolean sAllowLocal;
- };
-